<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class template char_decorator_actor</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Log v2">
<link rel="up" href="../../../expressions.html#header.boost.log.expressions.formatters.char_decorator_hpp" title="Header &lt;boost/log/expressions/formatters/char_decorator.hpp&gt;">
<link rel="prev" href="make_c_ascii_decor.html" title="Function template make_c_ascii_decor">
<link rel="next" href="char_decorator_terminal.html" title="Class template char_decorator_terminal">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="make_c_ascii_decor.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../expressions.html#header.boost.log.expressions.formatters.char_decorator_hpp"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="char_decorator_terminal.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.log.expressions.char_decorator_actor"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template char_decorator_actor</span></h2>
<p>boost::log::expressions::char_decorator_actor</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../expressions.html#header.boost.log.expressions.formatters.char_decorator_hpp" title="Header &lt;boost/log/expressions/formatters/char_decorator.hpp&gt;">boost/log/expressions/formatters/char_decorator.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SubactorT<span class="special">,</span> <span class="keyword">typename</span> ImplT<span class="special">,</span> 
         <span class="keyword">template</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="special">&gt;</span> <span class="keyword">class</span> ActorT <span class="special">=</span> <span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">actor</span><span class="special">&gt;</span> 
<span class="keyword">class</span> <a class="link" href="char_decorator_actor.html" title="Class template char_decorator_actor">char_decorator_actor</a> <span class="special">:</span>
  <span class="keyword">public</span> <span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">actor</span><span class="special">&lt;</span> <span class="identifier">char_decorator_terminal</span><span class="special">&lt;</span> <span class="identifier">SubactorT</span><span class="special">,</span> <span class="identifier">ImplT</span> <span class="special">&gt;</span> <span class="special">&gt;</span>
<span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <a class="link" href="char_decorator_terminal.html" title="Class template char_decorator_terminal">char_decorator_terminal</a><span class="special">&lt;</span> <span class="identifier">SubactorT</span><span class="special">,</span> <span class="identifier">ImplT</span> <span class="special">&gt;</span> <a name="boost.log.expressions.char_decorator_actor.terminal_type"></a><span class="identifier">terminal_type</span><span class="special">;</span>  <span class="comment">// Base terminal type. </span>
  <span class="keyword">typedef</span> <span class="identifier">terminal_type</span><span class="special">::</span><span class="identifier">char_type</span>                    <a name="boost.log.expressions.char_decorator_actor.char_type"></a><span class="identifier">char_type</span><span class="special">;</span>      <span class="comment">// Character type. </span>
  <span class="keyword">typedef</span> <span class="identifier">ActorT</span><span class="special">&lt;</span> <span class="identifier">terminal_type</span> <span class="special">&gt;</span>                     <a name="boost.log.expressions.char_decorator_actor.base_type"></a><span class="identifier">base_type</span><span class="special">;</span>      <span class="comment">// Base actor type. </span>

  <span class="comment">// <a class="link" href="char_decorator_actor.html#boost.log.expressions.char_decorator_actorconstruct-copy-destruct">construct/copy/destruct</a></span>
  <span class="keyword">explicit</span> <a class="link" href="char_decorator_actor.html#idm27695-bb"><span class="identifier">char_decorator_actor</span></a><span class="special">(</span><span class="identifier">base_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="char_decorator_actor.html#idm27691-bb">public member functions</a></span>
  <span class="identifier">terminal_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> <a class="link" href="char_decorator_actor.html#idm27692-bb"><span class="identifier">get_terminal</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="idm42961"></a><h2>Description</h2>
<p>Character decorator actor </p>
<div class="refsect2">
<a name="idm42964"></a><h3>
<a name="boost.log.expressions.char_decorator_actorconstruct-copy-destruct"></a><code class="computeroutput">char_decorator_actor</code> 
        public
       construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
<pre class="literallayout"><span class="keyword">explicit</span> <a name="idm27695-bb"></a><span class="identifier">char_decorator_actor</span><span class="special">(</span><span class="identifier">base_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> act<span class="special">)</span><span class="special">;</span></pre>Initializing constructor. </li></ol></div>
</div>
<div class="refsect2">
<a name="idm42981"></a><h3>
<a name="idm27691-bb"></a><code class="computeroutput">char_decorator_actor</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
<pre class="literallayout"><span class="identifier">terminal_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> <a name="idm27692-bb"></a><span class="identifier">get_terminal</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Returns reference to the terminal. </li></ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2007-2024 Andrey Semashev<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>).
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="make_c_ascii_decor.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../expressions.html#header.boost.log.expressions.formatters.char_decorator_hpp"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="char_decorator_terminal.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
